//
//  PineWatch-4202
//
//  Created by Pineapple, 2021/07/07.
//  Copyright @ 2021 Pineapple. All rights reserved.
//

/*system*/
#include "sysclk.h"
#include "basicio.h"
#include "uart.h"
/*driver*/
#include "sr.h"
#include "imu.h"
/*app*/
#include "userapp.h"

void app_main()
{
    clock_init();
    uart_init(115200);
    basicio_init();
    imu_init();
    sr_init();
    esp32_settime(&rtc);

    HV_EN;
    nixie_fresh();
    HV_SD;

    usertask_create();

    while(1)
    {
        ;
    }

}